#ifndef _H_CC2640R2F_UART_H_
#define _H_CC2640R2F_UART_H_

#include "h_cc2640r2f_define.h"

extern unsigned char H_CC2640R2F_UARTRxBuffer[H_CC2640R2F_UART_RxLength];
extern volatile unsigned short H_CC2640R2F_UARTRxLength;

#if (H_CC2640R2F_UART_TskMd_Enable)
#define H_CC2640R2F_UARTEvent_RX                Event_Id_00
#define H_CC2640R2F_UARTEvent_TX                Event_Id_01
#define H_CC2640R2F_UARTEvent_ALL               (H_CC2640R2F_UARTEvent_RX | H_CC2640R2F_UARTEvent_TX)

extern void H_CC2640R2F_UART_TaskMode_createTask(void);
#endif

extern signed char H_CC2640R2F_UART_Init(void);
//extern void H_CC2640R2F_UART_printf(const char* format, ...);
extern void H_CC2640R2F_UART_TxBuff(const unsigned char *buff, unsigned short len);

extern void H_CC2640R2F_UART_RxEnable(void);

#endif
